﻿/************************************************************************************
* Copyright (c) 2019 All Rights Reserved.
*命名空间：Separate.Model
*文件名： EmptyTrayGather
*创建人： Liebeskind
*创建时间：2019/6/17 16:25:23
*描述
*=====================================================================
*修改标记
*修改时间：2019/6/17 16:25:23
*修改人：Liebeskind
*描述：
************************************************************************************/
using Commonality.Model.Tray;

namespace Merge.Model
{
    /// <summary>
    /// 空tray收集穴位映射
    /// </summary>
    public static class TrayMap
    {
        public static Seat X01 = Seat.NULL;
        public static Seat X03 = Seat.NULL;
        public static Seat X05 = Seat.NULL;
        public static Seat X08 = Seat.NULL;
        public static Seat X13 = Seat.NULL;
        public static Seat X15 = Seat.NULL;
        public static Seat X176 = Seat.NULL;
        public static Seat X177 = Seat.NULL;
        public static Seat X178 = Seat.NULL;
        public static Seat X19 = Seat.NULL;
    }                      
    /// <summary>          
    /// 空Tray收集机类     
    /// </summary>
    //public static class TrayClass
    //{

    //    public static short TrayToStorehouse(Seat seat)
    //    {
    //        if (TrayMap.Seat1 == seat)
    //        {
    //            return 1;
    //        }
    //        else if (TrayMap.Seat2 == seat)
    //        {
    //            return 2;
    //        }
    //        else if (TrayMap.Seat3 == seat)
    //        {
    //            return 3;
    //        }
    //        else if (TrayMap.Seat4 == seat)
    //        {
    //            return 4;
    //        }
    //        else if (TrayMap.Seat5 == seat)
    //        {
    //            return 5;
    //        }
    //        else if (TrayMap.Seat6 == seat)
    //        {
    //            return 6;
    //        }
    //        return 7;
    //    }
    //}
    /// <summary>
    /// 流向包装区的流向
    /// </summary>
    public static class TrayOrientationGotoPackaging
    {
        public static short X01     = 0;
        public static short X03     = 0;
        public static short X05     = 0;
        public static short X08     = 0;
        public static short X13     = 0;
        public static short X15     = 0;
        public static short X176    = 0;
        public static short X177    = 0;
        public static short X178    = 0;
        public static short X19 = 0;

        public enum Ori
        {
            ALL = 0,
            A = 1,
            B = 2,
        }
    }

}
